package com.phs.main.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sp")
public class OwnerVO extends VO {
	@ExcelProperty("业主ID")
	@TableId(value = "id")
	private long id;

	@ExcelProperty("姓名")
	private String name;

	@ExcelProperty("年龄")
	private Integer age;

	@ExcelProperty("身份证号")
	@TableField("id_num")
	private String idNum;

	@ExcelProperty("电话")
	private String tel;

	@ExcelProperty("住址")
	private String address;

	@ExcelProperty("单元")
	private String unit;

	@ExcelProperty("房间")
	@TableField("house_name")
	private String houseName;

	@ExcelProperty("进驻日期")
	private LocalDateTime time;

}
